<%@ page import="sar.SessionPlace" %>



<div class="fieldcontain ${hasErrors(bean: sessionPlaceInstance, field: 'time', 'error')} required">
	<label for="time">
		<g:message code="sessionPlace.time.label" default="Time" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="time" precision="day"  value="${sessionPlaceInstance?.time}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: sessionPlaceInstance, field: 'place', 'error')} required">
	<label for="place">
		<g:message code="sessionPlace.place.label" default="Place" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="place" name="place.id" from="${sar.Place.list()}" optionKey="id" required="" value="${sessionPlaceInstance?.place?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: sessionPlaceInstance, field: 'session', 'error')} required">
	<label for="session">
		<g:message code="sessionPlace.session.label" default="Session" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="session" name="session.id" from="${sar.TeachingSession.list()}" optionKey="id" required="" value="${sessionPlaceInstance?.session?.id}" class="many-to-one"/>
</div>

